import { system as http } from '@zh/common-utils/http'

/**
 * 获取操作日志列表
 */
export function fetchSyLogList (data) {
  return http.post('syLogs/list', data)
}

/**
 * 获取操作类型枚举列表
 */
export function fetchOperateTypeList () {
  return http.get('syLogs/getSyLogsEnums')
}

export function fetchExportLog (data) {
  return http.post('syLogs/exportXls', data, { responseType: 'blob' })
}